/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package simulator;

/**
 *
 * @author Administrador
 */
class ProcessControllBlock {
    public String SP;
    private int priority;
    private int id;
    ProcessControllBlock(String SP,int priority,int id){
        this.SP = SP;
        this.priority = priority;
        this.id = id;       
    }
    int getPriority() {
        return priority;
    }

    void setPriority(int priority) {
        this.priority = priority;
    }
    public String toString(){
        String result = "PCB: "+id+"\n";
        result = result + "SP = "+SP+" priority: "+priority;
        return result;
    }
}
